// pages/restaurant/settlement/success.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    id:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.data.id = options.id
  },
  indeClick(){
    wx.switchTab({
      url: '../../../pages/index/index'
    })
  },
  orderClick(){
    wx.navigateTo({
      url: '/pages/order/order/details?id='+this.data.id,
    })
  }
})
